package us.kg.kotoriforest.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Kotori rotroutine@163.com
 * @since 2025/1/21
 */
@Controller
public class ErrorController {

    @RequestMapping("/error")
    public String error() {
        System.out.println(1 / 0);
        return "success";
    }

}
